<div class="m-l nav navbar-nav m-t block" style="width:300px;">
    <span>加盟商管理 ></span>
    <span>加盟商列表 </span>
</div>
<div class="m-t-lg">
    <div class="wrapper-sm">
        <div class="panel panel-default">
        <div class="panel-body">
            <div style="border-color: #e5e5e5;padding: 10px;background-color: #e5e5e5">
            <div class="row">
                <div class="col-md-6">
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="加盟商编号/姓名/手机号/..." [(ngModel)]="keyWord">
                    <span class="input-group-btn">
                    <button class="btn btn-default" type="button" (click)="search()">查询</button>
                    </span>
                </div>
                </div>
                <div class="col-md-6" style="text-align: right">
                <!-- <button class="btn btn-info pull-right" (click)="btype=1; myModal.show()">
                新增
                </button> -->
                </div>
            </div>
            </div>
            <div class="table-responsive">
            <table class="table table-hover table-striped">
                <thead>
                <tr>
                    <th>加盟商编号</th>
                    <th>加盟商姓名</th>
                    <th>加盟商手机号</th>
                    <th>身份证号</th>
                    <th>所在城市</th>
                    <th>是否开过门店</th>
                    <th>创建时间</th>
                    <!-- <th>操作</th> -->
                </tr>
                </thead>
                <tbody>
                <tr *ngFor="let listdata of listdata">
                    <td>{{listdata.id}}</td>
                    <td>{{listdata.applicant_name}}</td>
                    <td>{{listdata.telephone}}</td>
                    <td>{{listdata.identity_card}}</td>
                    <td>{{listdata.city}}</td>
                    <td>
                        <span *ngIf="listdata.ever_open=='1'">是</span>
                        <span *ngIf="listdata.ever_open=='0'">否</span>
                    </td>
                    <td>{{listdata.updated_at}}</td>
                    <!-- <td>
                    <button class="btn btn-xs btn-success" (click)="edit(groupdata)">通过</button>
                    <button class="btn btn-xs btn-primary" (click)="showdevices(groupdata)">关联设备</button>                    
                    <button class="btn btn-xs btn-info" (click)="showpolicy(groupdata)">资费策略</button>
                    </td> -->
                </tr>
                </tbody>
            </table>
            </div>
            <!-- <app-pagination [pageModel]="pageModel" (pageChanged)="getdata($event)"></app-pagination> -->
        </div>
        </div>
    </div>
    </div>

   
      
      
      
      